package com.wuhunyu.client.err;

import com.wuhunyu.client.ServiceEduClient;
import com.wuhunyu.commonutils.result.CommonResult;
import org.springframework.stereotype.Component;

/**
 * 教育模块兜底方法
 *
 * @author wuhunyu
 * @version 1.0
 * @date 2021-01-26 14:53
 */
@Component
public class ServiceEduClientErr implements ServiceEduClient {

    @Override
    public CommonResult selectCourseForOrder(String courseId) {
        return CommonResult.error("获取课程信息失败");
    }

    @Override
    public CommonResult isCourse(String courseId) {
        return CommonResult.error("课程信息查询失败");
    }

}
